<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>

<h1>Users</h1>

<table class="search">
    
<c:forEach var="user" items="${users}" varStatus="status">
    <tr>
    <c:url var="showUrl" value="/admin/order" >
    	<c:param name="userId" value="${user.userId}" />
    </c:url>
    <td>
        <a href='<c:out value="${showUrl}"/>'>${user.name}</a>
    </td>
    </tr>
</c:forEach>

</table>